home *** CD-ROM | disk | FTP | other *** search
- /* ImageBuffer class works with VGA-EGA 16 color bitmap images. It keeps the
- line of pixels (uchars) and reduce the number of imageP image
- real splittings.
- */
-
- #ifndef __IMAGE_GUFFER_H_
- #define __IMAGE_GUFFER_H_
-
- #include "image_p.h"
- #include "simple.h"
- #include "geom.h"
-
- extern bw_pix(int color, int x, int y); // returns BW pixel, BLACK of WHITE (1),
- // depending of pattern for color. Defined in GBUF.H
-
- struct ImageBuffer
- {
- uchar pixels[8];
- loc coord; // y coordinate
-
- ImageBuffer() { coord.Y = -1; }
-
- uchar image_get_pixel(imageP image, int byte, int vert_shift);
- };
-
- #endif __IMAGE_GUFFER_H_